From 46daebe715969523bd420050c6af938c29e22889 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20H=C3=A4rdeman?= Date: Sun, 5 Oct 2025 08:36:17 +0200 Subject: [PATCH] luci-mod-network: simplify multi-MAC help text MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Simplify the help text a bit, make it more consistent, capitalize "MAC", remove references to dnsmasq. Signed-off-by: David Härdeman --- .../htdocs/luci-static/resources/view/network/dhcp.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js index af23fa2433..5d97ff1838 100644 --- a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js +++ b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js @@ -751,9 +751,10 @@ return view.extend({ }; so = ss.option(form.DynamicList, 'mac', - _('MAC address(es)'), - _('The hardware address(es) of this entry/host.') + '

' + - _('In DHCPv4, it is possible to include more than one mac address. This allows an IP address to be associated with multiple macaddrs, and dnsmasq abandons a DHCP lease to one of the macaddrs when another asks for a lease. It only works reliably if only one of the macaddrs is active at any time.')); + _('MAC Addresses'), + _('The hardware address(es) of this host.') + '

' + + _('The same IPv4 address will be (re)assigned to any host using one of the MAC addresses listed above.') + '
' + + _('Only one of the MAC addresses is expected to be in active use on the network at any given time.')); so.rmempty = true; so.cfgvalue = function(section) { var macs = uci.get('dhcp', section, 'mac'); -- 2.30.2